<template>
  <div class="course">
    <div class="course-title">
        <div class="course-title-text">课程体系</div>
        <div class="course-describe">从技术小白到专业人才的逆袭之路</div>
    </div>
    <div class="course-body">
        
        <div class="course-basic">
            <div class="course-item" @click="toGoktechCollege">
                <div class="course-item-icon">
                     <i class="icon-jichujieduan">
                        <span class="path1"></span><span class="path2"></span>
                    </i>
                </div>
                <div class="course-item-title">
                    <div class="course-item-name">基础阶段</div>
                    <div class="course-item-text">JavaSE阶段</div>
                </div>
            </div>
            <div class="course-item" @click="toGoktechCollege">
                <div class="course-item-icon">
                     <i class="icon-zhongji">
                        <span class="path1"></span><span class="path2"></span>
                    </i>
                </div>
                <div class="course-item-title">
                    <div class="course-item-name">中级阶段</div>
                    <div class="course-item-text">MySql数据库、JavaSE阶段。</div>
                </div>
            </div>
            <div class="course-item" @click="toGoktechCollege">
                <div class="course-item-icon">
                     <i class="icon-gaoji">
                        <span class="path1"></span><span class="path2"></span>
                    </i>
                </div>
                <div class="course-item-title">
                    <div class="course-item-name">高级阶段</div>
                    <div class="course-item-text">MySql数据库高级、JavaEE框架阶段。</div>
                </div>
            </div>
            <div class="course-item" @click="toGoktechCollege">
                <div class="course-item-icon">
                     <i class="icon-qianyan">
                        <span class="path1"></span><span class="path2"></span>
                    </i>
                </div>
                <div class="course-item-title">
                    <div class="course-item-name">前沿技术综合实力阶段</div>
                    <div class="course-item-text">Hibernate Mybatis WebSerxice框架、客户…</div>
                </div>
            </div>
            <div class="course-item" @click="toGoktechCollege">
                <div class="course-item-icon">
                     <img src="/img/college/job.png" alt="">
                </div>
                <div class="course-item-title">
                    <div class="course-item-name">职业素质培养</div>
                    <div class="course-item-text">制定个人职业规划，简历编写，完整面试流程演练。</div>
                </div>
            </div>
        </div>
       
        <p class="course-ict-bottom-title">最后成为优秀的专业人士</p>
        <div class="course-to-detail">
            <span  @click="toDetail">查看完整培训流程</span>
        </div>
    </div>
  </div>
</template>

<script>

export default {
  name: 'course',
  data () {
      return{
        
      }
    
  },
  components: {
   
  },
  methods: {
    toDetail(){
        this.$router.push({
            name: "college-software_flow"
        })
    },
    toGoktechCollege(){
        window.open('https://campus.goktech.cn/directionCourse?direction=2&type=&cityId=')
    }   
  }
}
</script>

<style lang="stylus" scoped>
.course{
  background:rgba(255,255,255,1);
  box-shadow:0px 1px 2px 0px rgba(0,0,0,0.1);
  margin-bottom: 20px;  
}
.course-title{
  height: 58px;
  line-height: 58px;
  padding-left: 30px;
  border-bottom: 1px solid rgba(238,238,238,1);
  >div{
    display: inline-block;
  }
  .course-title-text{
    font-size:16px;
    color:rgba(30,30,30,1);
    margin-right: 30px;
  }
  .course-describe{
    font-size:12px;
    color:rgba(130,130,130,1);
  }
}
.course-body{
    padding: 40px 30px;
}

.course-basic{
    font-size: 0;
    margin-bottom: 60px;
    .course-item{
        display inline-block;
        font-size: 0;
        width:230px;
        height:118px;
        padding: 20px 20px 0 20px;
        margin-right: 102px;
        margin-bottom: 20px;
        vertical-align: top;
        &:hover{
            background:rgba(245,245,245,1);
        } 
        >div{
            display inline-block;
            vertical-align: top;
        }
        .course-item-icon{
            font-size: 34px;
            margin-right: 10px;
        }
        .course-item-title{
            padding-top: 15px;
        }
        .course-item-name{
            font-size:14px;
            font-family:MicrosoftYaHei-Bold;
            font-weight:bold;
            color:rgba(30,30,30,1);
            line-height:14px;
            margin-bottom: 15px;
        }
        .course-item-text{
            width: 140px;
            height: 44px;
            font-size:12px;
            line-height:22px;
            color:rgba(130,130,130,1);
            text-overflow: ellipsis;
            display: -webkit-box!important;
            -webkit-line-clamp: 2;
            overflow: hidden;
            -webkit-box-orient: vertical;
            
        }
    }
    .course-item:nth-child(3n){
        margin-right: 0;
    }
}

.course-ict-bottom-title{
    font-size:24px;
    font-family:PangMenZhengDao;
    color:rgba(255,39,88,1);
    line-height:27px;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}
.course-ict-bottom-title:before{
    width:305px;
    height:1px;
    content: '';
    background:rgba(238,238,238,1);
    position: absolute;
    top: 15px;
    left: 0;
}
.course-ict-bottom-title:after{
    width:305px;
    height:1px;
    content: '';
    background:rgba(238,238,238,1);
    position: absolute;
    top: 15px;
    right: 0;
}
.course-to-detail{
    text-align: center;
    margin-bottom: 20px;
    span{
        cursor: pointer;
        display: inline-block;
        padding: 9px 20px;
        font-size:14px;
        font-family:MicrosoftYaHei-Bold;
        font-weight:bold;
        color:rgba(255,255,255,1);
        background:rgba(20,87,253,1);
        line-height:14px;
        &:hover{
            background:rgba(14,53,151,1);
        }
    }
}
</style>
